/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cn.ekuma.data.dao;

import cn.ekuma.data.dao.bean.ModifiedLogAble;
import com.openbravo.data.loader.TableDefinition;

/**
 *
 * @author Administrator
 */
public abstract class SectionDAO<T extends ModifiedLogAble,V extends BaseDAO> extends ModifiedLogDAO<T>{
    private  V base;
    private final int[] columnIndexs;

    public SectionDAO(V base,int[] columnIndexs) {
        super(base.s);
        this.base=base;
        this.columnIndexs=columnIndexs;
    }

    @Override
    public TableDefinition getTable() {
        return base.getTable().getInfoTableDefinition(columnIndexs);
    }


}
